#include "grid.h"

grid::grid(int x,int y,int type){
    this -> posx = x;
    this -> posy = y;
    this -> type = type;
    this -> setFixedSize(40,40);
    if(type == 1) this -> nowtype = 1;
    else this-> nowtype = 0;
    finished = false;
}
